//
//  UserDefaultHandler.h
//  KD
//
//  Created by Hubery on 16/1/25.
//  Copyright © 2016年 ifly. All rights reserved.
//

#import <Foundation/Foundation.h>


static NSString * const kNotFirstLogin = @"kNotFirstLogin";

static NSString * const kRemember = @"kRemember";
static NSString * const kNormalIn = @"kNormalIn";

/**极光*/
static NSString * const kIsLoginJpush = @"kIsLoginJpush";
static NSString * const kIsRegisterJpush = @"kIsRegisterJpush";
static NSString * const kIResCodeIs0Jpush = @"kIResCodeIs0Jpush";
//登录成功信息
/**用户ID*/
static NSString * const kID = @"kID";
static NSString * const kUsers_Organization = @"kUsers_Organization";
static NSString * const kUsers_CellPhoneNum = @"kUsers_CellPhoneNum";
static NSString * const kUsers_PassWord = @"kUsers_PassWord";
static NSString * const kUsers_CorpName = @"kUsers_CorpName";
static NSString * const kUsers_IDCard = @"kUsers_IDCard";
/**用户种类*/
static NSString * const kUsers_Kind = @"kUsers_Kind";
static NSString * const kUsers_RegisterDate = @"kUsers_RegisterDate";
static NSString * const kUsers_IsDel = @"kUsers_IsDel";
static NSString * const kUsers_Guid = @"kUsers_Guid";
static NSString * const kUsers_PersonName = @"kUsers_PersonName";
static NSString * const kUsers_CorpKind = @"kUsers_CorpKind";
static NSString * const kUsers_AppID = @"kUsers_AppID";
static NSString * const kUsers_AreaCode = @"kUsers_AreaCode";
static NSString * const kUsers_TableName = @"kUsers_TableName";
static NSString * const kUsers_PKCode = @"kUsers_PKCode";
static NSString * const kUsers_Alias = @"kUsers_Alias";
static NSString * const kUsers_JobName = @"kUsers_JobName";
static NSString * const kUsers_CorpKindName = @"kUsers_CorpKindName";
static NSString * const kUsers_AreaName = @"kUsers_AreaName";
static NSString * const Users_Alias = @"kUsers_Alias";
static NSString * const Users_PassWord = @"kUsers_PassWord";
static NSString * const Users_IsPayVip = @"Users_IsPayVip";

//处罚类型的全局变量
static NSString * const kPicPunishTypeData = @"kPicPunishTypeData";



//推送信息
static NSString * const KNotificationArray = @"notificationArray";


@interface UserDefaultHandler : NSObject

+(void)initUserDefault;

+(void)saveUserDetault:(id) object key:(NSString *)key;

+(id)getUserDetault:(NSString *)key;

+(NSDictionary *)getUserDetaultDictionary:(NSString *)key;

+(NSArray *)getUserDetaultArray:(NSString *)key;

+(NSDate *)getUserDetaultDate:(NSString *)key;

+(void)runSave;
@end
